package com.huilian.iotbox.data.enums;

import lombok.Getter;

/**
 * @author LinYinDong
 * @date 2023/10/25 13:40
 */
@Getter
public enum DeviceProductDisplayTypeEnum {
    FREIGHT_LANE_SORT(1, "按货道顺序展示商品（同类商品不合并）"),
    COMMODITY_SORT(2, "按商品排序展示，其实就是按商品合并展示"),
    ;

    private Integer code;
    private String desc;

    DeviceProductDisplayTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
